﻿<%@ Page Title="Cadastro de Presença" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Presenca.aspx.cs" Inherits="SeCompUFSCarWeb.Administration.Presenca" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
     <!-- Page Content -->
    <h2><%: Title %>.</h2>

    <p class="text-danger">
        <asp:Literal runat="server" ID="Message" />
    </p>

    <div class="form-horizontal">
        <h4>Lista de Presença</h4>

        <hr />
        <!--<h5>Selecione o Evento</h5>-->
        <div class="form-group">
            <asp:Label runat="server" AssociatedControlID="DropBoxEvento" CssClass="col-md-2 control-label">Selecione o Evento</asp:Label>
            <div class="col-md-10">
                <asp:DropDownList ID="DropBoxEvento" CssClass="form-control" runat="server" DataSourceID="SqlDataSource1" DataTextField="NOME" DataValueField="ID"></asp:DropDownList>
                <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString='<%$ ConnectionStrings:DefaultConnection %>' ProviderName='<%$ ConnectionStrings:DefaultConnection.ProviderName %>' SelectCommand="SELECT ID, NOME FROM secomp.evento ORDER BY NOME"></asp:SqlDataSource>
            </div>
        </div>

        <div class="form-group">
            <asp:Label runat="server" AssociatedControlID="TextBoxInscricao" CssClass="col-md-2 control-label">Inscrições</asp:Label>
            <div class="col-md-10">
                <asp:TextBox runat="server" ID="TextBoxInscricao" Height="300px" Width="300px"  TextMode="MultiLine" CssClass="form-control form-control2"   />
            </div>
        </div>

        <div class="form-group">
            <asp:Label runat="server" AssociatedControlID="TextBoxInscricao" CssClass="col-md-2 control-label">Status</asp:Label>
            <div class="col-md-10">
                <asp:Label ID="PgStatus" runat="server" Text="Nenhuma Informação Encontrada." CssClass="h5"></asp:Label>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <asp:Button ID="Confirmar" runat="server" Text="Salvar" CssClass="btn btn-default" OnClick="Confirmar_Click"/>
            </div>
        </div>

    </div>
</asp:Content>
